package top.z.orm.core.osql;

/**
 * SQL语言的各种操作符
 */
public enum Op {
    // =
    eq("="),
    // >
    gt(">"),
    // <
    lt("<"),
    // != or <>
    nq("!="),
    // >=
    ge(">="),
    // <=
    le("<="),
    // like
    like(" like "),
    // not like
    notLike(" not like "),
    // in
    in(" in "),
    // not in
    notIn(" not in"),
    // =
    equal("="),
    // >
    greatThan(">"),
    // <
    lessThan("<"),
    // != or <>
    notEqual("!="),
    // >=
    greatEqual(">="),
    // <=
    lessEqual("<=");

    private String operator;

    Op(String operator) {
        this.operator = operator;
    }

    public String getOperator() {
        return operator;
    }
}